import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import user from './modules/user'
import oauth2 from './modules/oauth2'
import tagsView from './modules/tagsView'
import permission from './modules/permission'
import settings from './modules/settings'
import project from './modules/project'
import innerProject from './modules/innerProject'
import getters from './getters'
import dict from './modules/dict'
Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        app,
        user,
        oauth2,
        tagsView,
        permission,
        settings,
        project,
        innerProject,
        dict
    },
    getters
})

export default store
